<%--
  Created by IntelliJ IDEA.
  User: cuichanghe
  Date: 2021/9/26
  Time: 7:39 下午
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>查询所有结果</title>
</head>
<body>
    <h1>下面是查询结果(findAll())</h1>
    <c:forEach items="${AllUser}" var="user">
        <h2>${user.id}</h2>
        <h2>${user.name}</h2>
        <h2>${user.year}</h2>
        <h2>${user.role}</h2>
    </c:forEach>

</body>
</html>
